package com.sky.mapper;

import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import com.sky.globalAnnotation.AutoFill;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SetmealDishMapper {
     List<SetmealDish> getByDishId(List<Long> ids) ;

    List<SetmealDish> getBysetmealId(Long id);


    //@AutoFill(OperationType.INSERT)
    void insertSetmealDishs(List<SetmealDish> setmealDishes);

    void deleteBySetmealId(List<Long> ids);

    void deleteById(Long id);





}
